This command allows you to quickly assign a Schema to an XML document that is to be used for Validation and intelligent editing.
It will open the common Assign File dialog to let you specify the XSD, XDR, or BizTalk schema file you wish to assign and will insert the required namespace declaration attributes into your XML document:
| xmlns="http://www.xmlspy.com/schemas/icon/orgchart"
| | xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance"
| | xsi:schemaLocation="http://www.xmlspy.com/schemas/icon/orgchart http://schema.xmlspy.com/schemas/icon/orgchart.xsd"
| | |
The actual declarations generated by XML Spy depend on the Schema kind and - in case of the new W3C XML Schemas - also on the potential use of a targetNamespace in the Schema document.
|
|